package com.lagou.demo.controller;

import com.lagou.edu.mvcframework.annotations.LagouController;
import com.lagou.edu.mvcframework.annotations.LagouRequestMapping;
import com.lagou.edu.mvcframework.annotations.Security;

@Security("lily")
@LagouController
@LagouRequestMapping("/demo")
public class DemoController {

    @Security({"tom", "bob"})
    @LagouRequestMapping("/handle01")
    public String handle01() {
        return "handle01 # hello world!";
    }

    @LagouRequestMapping("/handle02")
    public String handle02() {
        return "handle02 # hello world!";
    }

}
